//  员工绩效目标制定 
export function getFormulateList (data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/formulate/list',
    data:data
  })
}
//变更状态
export function setState (data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/state',
    data:data
  })
}
//  适用部门下拉

export function getPullDeptList () {
  return window.fetch({
    method: 'POST',
    url: '/achievement/pulldept'
  })
}

// 获取绩效信息
export function getInfo (data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/info',
    data: data
  })
}
//  无需绩效考核人员

export function getMember(data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/member',
    data: data
  })
}

//  新增编辑员工分享设置 

export function updateAchievement(data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/redact',
    data: data
  })
}

//  员工绩效目标总揽  
export function overviewList(data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/overview/list',
    data: data
  })
}

//  员工绩效目标总揽详情
export function overvieInfo(id) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/overview/info',
    data: id
  })
}

//  员工邀请订单

export function invoiceOrderList(data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/order/list',
    data: data
  })
}

//  员工邀请会员

export function invoiceUserList(data) {
  return window.fetch({
    method: 'POST',
    url: '/achievement/user/list',
    data: data
  })
}
